home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- -- open movie: use for a button to open a QTVR movie
- -- change to "on exitframe" to put in a frame script
- global gQTVRObj
-
- -- prepare values to be passed to xtra.
- -- rectToStr is a lingo function in movie script 1
- set qtvrRect = rectToStr(the rect of sprite 10)
-
- -- to hard-code a particular file, replace the
- -- right side of the next line to the pathname
- set qtvrFile = "pathname to my movie"
-
-
- QTVROpen(gQTVRObj, qtvrFile, qtvrRect, "visible")
-
- end